/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sistemperpustakaan.entity;

/**
 *
 * @author EKo
 */
public class Inventaris {
    String id;
    int buku_id;
    int status;
    Object object;

    public Inventaris() {
    }

    public Inventaris(String id, int buku_id, int status) {
        this.id = id;
        this.buku_id = buku_id;
        this.status = status;
    }

   
    public Object getObject(int index) {
        switch(index){
            case 0: return id;
            case 1: return buku_id;
            case 2: return status;
            default:return null;
        }
    }

    public int getBuku_id() {
        return buku_id;
    }
    public void setBuku_id(int buku_id) {
        this.buku_id = buku_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

}
